package com.auction.system.utils;


import com.auction.system.constant.SystemConstant;

/**
 * @ClassName UserUtil
 * @Author 王伟学
 * @Version 1.0
 **/
public class UserUtil {

    /**
     * 获取userId
     */
    public static String getUserId(){
        return ServeltUtil.getSession().getAttribute(SystemConstant.USERID_KEY)+"";
    }

}
